<template>
    <div class="thing">
        <div class="things">
            <div class="t-show">
                <div class="ts-left">
                    <img src="./images/yan.png" alt="">
                </div>
                <div class="ts-right">
                    <h5>iqos配件烟灰缸车载烟头罐日本电子烟三代2.4plus</h5>
                    <div class="choose">
                        <p>黑色（现货）：<span>L</span></p>
                        <i><img src="./images/turn-b.png" alt=""></i>
                    </div>
                    <p>￥884 <span class="omoney">￥980</span></p>
                </div>
            </div>
            <div class="t-num">
                <p class="t-num-word">数量</p>
                <div class="number">
                    <p class="jian">-</p>
                    <p class="sum">1</p>
                    <p class="jia">+</p>
                </div>
            </div>
            <div class="t-ano">
                <p class="talk">留言：</p>
                <textarea class="tcp_content" placeholder="特殊需求请留言（45字以内）" maxlength="45" onchange="this.value=this.value.substring(0,45)" onkeydown="this.value=this.value.substring(0,45)" onkeyup="this.value=this.value.substring(0,45)"></textarea>
            </div>
        </div>
    </div>
</template>
<script>
export default {
    
}
</script>
<style scoped>
    .thing{
        width: 100%;
        background: #fff;
        margin-top: 0.2rem;
    }
    .things{
        height: 4.92rem;
    }
    .t-show{
        width: 92%;
        height: 2.6rem;
        padding-top: 0.3rem;
        box-sizing: border-box;
        margin: 0 auto;
        /* background: yellow; */
    }
    .ts-left{
        width: 2.3rem;
        height: 2.3rem;
        float: left;
        overflow: hidden;
        border-radius: 0.1rem;
        border: 0.01rem solid #eaeaea;
    }
    .ts-left img{
        width:2.2rem;
        height: 2.2rem;
        margin-top: 0.05rem;
        margin-left: 0.05rem;
    }
    .ts-right{
        width: 4.2rem;
        float: left;
        margin-left: 0.3rem;
    }
    .ts-right h5{
        font-size: 0.3rem;
        color: #191E2A;
        font-weight: bold;
        line-height: 0.4rem;
    }
    .ts-right .choose{
        width: 2.6rem;
        height: 0.3rem;
        margin-top: 0.4rem;
        margin-bottom: 0.4rem;
        border-radius: 0.06rem;
        background: #f5f5f6;
        position: relative;
    }
    .ts-right .choose p{
        font-size: 0.22rem;
        color: #C1C3C6;
        display: inline-block;
    }
    .ts-right .choose i{
         width: 0.14rem;
        height: 0.09rem;
        display: inline-block;
        position: absolute;
        top: -0.06rem;
        left: 2.3rem;
    }
    .ts-right .choose i img{
        width: 0.14rem;
        height: 0.09rem;
      }
      .ts-right p{
          font-size: 0.26rem;
          color: #F52E67;
          font-size: medium;
          font-weight: bold;
      }
      .ts-right p .omoney{
          display: inline-block;
          font-weight: 200;
          color: #B3B5B8;
          margin-left: 0.4rem;
          text-decoration: line-through;
      }
      .t-num{
          width: 92%;
          height: 1.3rem;
          margin: 0 auto;
          position: relative;
          overflow: hidden;
          border-bottom: 0.01rem solid #efefef;
      }
      .t-num-word{
          font-size: 0.3rem;
          color:#191E2A;
          line-height: 1.3rem;
      }
      .t-num .number{
          width: 1.8rem;
          height: 0.55rem;
          position: absolute;
          top: 50%;
          margin-top: -0.27rem;
          right: 0;  
          border: 0.01rem solid #DEDFE3;
      }
      .t-num .number p{
          float: left;
          text-align: center;
          color: #ccc;
          line-height: 0.55rem;
      }
      .jian,.jia{
          width: 0.5rem;

      }
      .sum{
          width: 0.76rem;
          height: 0.55rem;
          border-left:0.01rem solid #DEDFE3;
          border-right:0.01rem solid #DEDFE3;
      }
      .t-ano{
          width: 92%;
          height: 1.4rem;
          margin: 0 auto;
          position: relative;
          overflow: hidden;
          /* background: yellowgreen; */
      }
      .talk{
          font-size: 0.3rem;
          color:#191E2A;
          line-height: 0.8rem;
          float: left;
      }
      .tcp_content{
        float: left;
        width: 86%; 
        height: 0.6rem;
        margin-top: 0.26rem;
        color:#9FA0A5;
        font-size: 0.28rem;
        border-style: none;
        outline: none;
        resize: none;
        overflow: hidden;
      }
</style>
